package com.example.dragon.bean;

import org.json.JSONArray;
import org.json.JSONObject;

/**
 * Created by Dragon on 2017/6/20.
 */

public class OrderBean {
    private String orders_id;
    private String worktime;
    private String name;
    private String mobile;
    private String address;
    private String fee;
    private String matter;
    private String message;
    private String lng;
    private String lat;
    private String addtime;
    private String status;
    private String time1;//确认司机事件
    private String time2;//司机发车时间
    private String time3;//司机开始计时
    private String time4;//订单完成 结束
    private String time5;//订单取消时间
    private String fare;
    private String faretime;
    private String iscomment;
    private String stars;
    private JSONArray drivers;

    public String getIscomment() {
        return iscomment;
    }

    public void setIscomment(String iscomment) {
        this.iscomment = iscomment;
    }

    private String driver_id;
    private String avatar;
    private String dname;
    private String dlng;
    private String dlat;

    public OrderBean(String driver_id,String orders_id, String avatar,
                     String dname, String dlng, String dlat,String stars,
                     String lng,String lat) {
        this.driver_id = driver_id;
        this.avatar = avatar;
        this.dname = dname;
        this.dlng = dlng;
        this.dlat = dlat;
        this.orders_id=orders_id;
        this.stars =stars;
        this.lng=lng;
        this.lat=lat;
    }

    public String getStars() {
        return stars;
    }

    public void setStars(String stars) {
        this.stars = stars;
    }

    public String getDriver_id() {
        return driver_id;
    }

    public void setDriver_id(String driver_id) {
        this.driver_id = driver_id;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public String getDlng() {
        return dlng;
    }

    public void setDlng(String dlng) {
        this.dlng = dlng;
    }

    public String getDlat() {
        return dlat;
    }

    public void setDlat(String dlat) {
        this.dlat = dlat;
    }

    public String getOrders_id() {
        return orders_id;
    }

    public void setOrders_id(String orders_id) {
        this.orders_id = orders_id;
    }

    public String getWorktime() {
        return worktime;
    }

    public void setWorktime(String worktime) {
        this.worktime = worktime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getFee() {
        return fee;
    }

    public void setFee(String fee) {
        this.fee = fee;
    }

    public String getMatter() {
        return matter;
    }

    public void setMatter(String matter) {
        this.matter = matter;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getLng() {
        return lng;
    }

    public String getTime1() {
        return time1;
    }

    public void setTime1(String time1) {
        this.time1 = time1;
    }

    public String getTime2() {
        return time2;
    }

    public void setTime2(String time2) {
        this.time2 = time2;
    }

    public String getTime3() {
        return time3;
    }

    public void setTime3(String time3) {
        this.time3 = time3;
    }

    public String getTime4() {
        return time4;
    }

    public void setTime4(String time4) {
        this.time4 = time4;
    }

    public String getTime5() {
        return time5;
    }

    public void setTime5(String time5) {
        this.time5 = time5;
    }

    public String getFare() {
        return fare;
    }

    public void setFare(String fare) {
        this.fare = fare;
    }

    public String getFaretime() {
        return faretime;
    }

    public void setFaretime(String faretime) {
        this.faretime = faretime;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getAddtime() {
        return addtime;
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public JSONArray getDrivers() {
        return drivers;
    }

    public void setDrivers(JSONArray drivers) {
        this.drivers = drivers;
    }

    public OrderBean(String orders_id, String worktime, String name, String mobile, String address, String fee, String matter, String message, String lng,
                     String lat, String addtime, String status, JSONArray drivers) {
        this.orders_id = orders_id;
        this.worktime = worktime;
        this.name = name;
        this.mobile = mobile;
        this.address = address;
        this.fee = fee;
        this.matter = matter;
        this.message = message;
        this.lng = lng;
        this.lat = lat;
        this.addtime = addtime;
        this.status = status;
        this.drivers = drivers;
    }

    public OrderBean(String orders_id, String worktime, String address,
                     String addtime, String iscomment, String driver_id,
                     String avatar, String dname,String fare,String fee,
                     String time4,String stars) {
        this.orders_id = orders_id;
        this.worktime = worktime;
        this.address = address;
        this.addtime = addtime;
        this.iscomment = iscomment;
        this.driver_id = driver_id;
        this.avatar = avatar;
        this.dname = dname;
        this.fare=fare;
        this.fee=fee;
        this.time4=time4;
        this.stars=stars;

    }

    public OrderBean(String orders_id, String worktime, String name, String mobile, String address, String fee, String lng, String lat,
                     String fare, String driver_id, String avatar, String dname, String dlat, String dlng, String status,String stars) {
        this.orders_id = orders_id;
        this.worktime = worktime;
        this.name = name;
        this.mobile = mobile;
        this.address = address;
        this.fee = fee;
        this.lng = lng;
        this.lat = lat;
        this.fare=fare;
        this.driver_id =driver_id;
        this.avatar=avatar;
        this.dname=dname;
        this.dlat=dlat;
        this.dlng=dlng;
        this.status=status;
        this.stars=stars;
    }

    public OrderBean(String orders_id, String worktime, String address) {
        this.orders_id = orders_id;
        this.worktime = worktime;
        this.address = address;
    }
}
